body {
    background-color: #C2F4C3;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #2c3e50;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

header {
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 40px;
}

.centro {
    margin: 0 auto;
    display: flex;
    gap: 25px; /* Separa los enlaces entre sí de forma limpia */
}

.centro a {
    color: #1b5e20;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
    transition: color 0.3s ease, transform 0.2s ease;
}

.centro a:hover {
    color: #4caf50;
    transform: translateY(-2px);
}

h1, h2, h3 {
    font-family: 'Rockwell', Georgia, serif;
    color: #1b5e20;
    margin-top: 30px;
}

h1 { font-size: 38px; text-align: center; margin-bottom: 40px; }
h2 { font-size: 28px; color: #556b2f; }
h3 { font-size: 24px; color: #2e7d32; }

p {
    font-family: Arial, sans-serif;
    text-align: justify;
    font-size: 16px;
    color: #333;
}

em {
    font-style: normal;
    font-weight: bold;
    color: #d35400;
}

table {
    width: 90% !important;
    max-width: 1100px;
    margin: 30px auto !important;
    border-collapse: collapse;
    border: none !important;
}

tr, td {
    border: none !important;
    display: block;
}

@media (min-width: 768px) {
    table:not(.ranking-table) tr {
        display: flex;
        align-items: center;
        gap: 40px;
        background: #ffffff;
        padding: 30px;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        margin-bottom: 30px;
    }
    
    table:not(.ranking-table) td {
        flex: 1;
        padding: 0 !important;
    }
}

table img {
    border-radius: 8px;
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

table img:hover {
    transform: scale(1.03);
}

/* Listas estilizadas */
ul {
    padding-left: 20px;
}

li {
    margin-bottom: 10px;
    font-size: 15px;
}

@media (min-width: 768px) {
    table[width="100%"][align="center"] tr {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    table[width="100%"][align="center"] td {
        background: #ffffff;
        padding: 20px !important;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.06);
        text-align: center;
        font-size: 14px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}